<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="js/vue-2.6.10.js"></script>
</head>
<body>
<div id="ss">
    <input type="text" v-model="num"><button v-on:click="num++">点这里</button>
    <h1>{{name}} ok! 有{{num}}个人</h1>
</div>

<script type="text/javascript">
    new Vue({
        el:"#ss",
        data:{
            name:"长颈鹿",
            num:1
        }
    });
</script>
</body>
</html>